home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / emerald / emrldsys.lha / Utils / makedep / makedep.h < prev    next >
C/C++ Source or Header  |  1990-08-16  |  1KB  |  57 lines

  1. /****************************************************************
  2.  * Home-brew makedep.h since actual one was missing from
  3.  * distribution.
  4.  ****************************************************************/
  5. #include <stdio.h>
  6.  
  7. struct StringListType {
  8.     int    state;
  9.     struct DepListType *dep;
  10.     struct StringListType *next;
  11.     char   *str;
  12. };
  13.  
  14. struct DepListType {
  15.     struct StringListType *inclFile;
  16.     struct DepListType *next;
  17. };
  18.  
  19. #define StringList struct StringListType
  20. #define DepList struct DepListType
  21.  
  22. StringList *IList, *SrcFiles, *InclDirs, *UserInclDirs;
  23.  
  24. #define DefaultObjExt "o"
  25. #define DefaultVObjExt "b"
  26. #define DefaultOutputFileName "-"
  27.  
  28. char OutputFileName[100];
  29. char ObjExt[20];
  30.  
  31. char *MyName;
  32.  
  33. int NFlag, UFlag, VFlag, xVFlag, eFlag;
  34. int lFlag, CEFlag;
  35.  
  36. #define DefaultUnixInclDirs "/usr/include"
  37. #define DefaultVInclDirs "/usr/local/include /usr/include"
  38. #define DefaultXVInclDirs "/usr/local/include /usr/include"
  39. #define DefaultCEInclDirs "/u1/Eden/EdenLibrary/Standard /u1/Eden/EdenLibrary"
  40. #define DefaultEInclDirs "/u1/Eden"
  41.  
  42. extern int errno;
  43.  
  44. int Debug;
  45.  
  46. #define TRUE  1
  47. #define FALSE 0
  48.  
  49. #define PROCESSED   1
  50. #define UNPROCESSED 0
  51. #define HEADER 2
  52. #define START_MARK_VALUE 3
  53.  
  54. #define Equal(a,b) (strcmp(a,b)==0)
  55.  
  56. extern StringList *MakeList();
  57.